home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
P
/
PopAlert.cpt
/
PopAlert
/
card_3973.txt
< prev
next >
Wrap
Text File
|
1988-01-31
|
1KB
|
36 lines
-- card: 3973 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2733
-- name:
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=48 top=57 right=299 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 8192
-- line height: 16
-- part name:
-- part contents for card part 1
----- text -----
IconId - Id of icon to be drawn in the alert box. If IconId is 0, PopAlert will draw the Icon used the last time the alert box was displayed.
Title - Short title for the alert box. Usually is either STOP, NOTE, or CAUTION.
Message - Message to be displayed on the alert box.
PopAlert returns the following values:
2  if user clicked on "CANCEL" button,
1  if user clicked on "OK" or "CONTINUE" button,
0  if any parameter is missing or any parameter is out of range,
-1 if the alert template or its item list is not in the resource file,
-2 if IconId selected by user is not in the resource file.
In order to use PopAlert the following resources should be in your stacks:
( you can copy or move these resources using ResEdit or the stack ResCopy )